package com.javait.day7;

import com.sun.org.apache.bcel.internal.generic.NEW;

public class Teststu {
    public static void main(String[] args) {
        Teacher teacher = new Teacher("周志鹏",30,"java");
        Student student = new Student("许超",20,"开小差");
        teacher.eat();
        teacher.speak();
        student.eat();
        student.speak();

    }
}
